package com.itheima.client;

import com.itheima.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("tensquare-base")
public interface AcriteClient {
    @GetMapping("/article/{id}")
    public Result get(@PathVariable("id") String id);

}
